<html xmlns:th="http://www.thymeleaf.org">
<div class="easyui-layout" data-options="fit:true,border:false">
    <div data-options="region:'center',border:true">
        <table id="adminDataGrid" data-options="fit:true,border:false"></table>
    </div>
    <div data-options="region:'west',border:true,collapsible:false,title:'车辆层级'" style="width:150px;overflow: hidden; ">
        <ul id="organizationTree" style="width:160px;margin: 10px 10px 10px 10px"></ul>
    </div>
</div>
<script type="text/javascript" th:src="@{/static/js/jquery-easyui/jquery.min.js}"></script>
<script type="text/javascript" th:src="@{/static/js/jquery-easyui/plugins/jquery.tree.js}"></script>

<script type="text/javascript" th:inline="javascript">
    $(function () {
        $('#organizationTree').tree({
            url: basePath + '/car/tree',
            parentField: 'pid',
            onClick: function (node) {
            }
        });
    });
</script>
</html>
